package entity;

import java.io.Serializable;
import java.util.Date;

public class UsNews implements Serializable {
    private Integer usNewId;
    private String usNewTitle;
    private String usNewContxt;
    private String usNewPic;
    private Date usNewRiqi;
    private Board usNewBid;
    private AdminMan usNewAid;
    private Integer usNewDel;


    public UsNews() {
    }

    public UsNews(String usNewTitle, String usNewContxt, String usNewPic, Board usNewBid, AdminMan usNewAid, Integer usNewDel) {
        this.usNewTitle = usNewTitle;
        this.usNewContxt = usNewContxt;
        this.usNewPic = usNewPic;
        this.usNewBid = usNewBid;
        this.usNewAid = usNewAid;
        this.usNewDel = usNewDel;
    }

    public UsNews(Integer usNewId, String usNewTitle, String usNewContxt, String usNewPic, Date usNewRiqi, Board usNewBid, AdminMan usNewAid, Integer usNewDel) {
        this.usNewId = usNewId;
        this.usNewTitle = usNewTitle;
        this.usNewContxt = usNewContxt;
        this.usNewPic = usNewPic;
        this.usNewRiqi = usNewRiqi;
        this.usNewBid = usNewBid;
        this.usNewAid = usNewAid;
        this.usNewDel = usNewDel;
    }

    public Integer getUsNewId() {
        return usNewId;
    }

    public void setUsNewId(Integer usNewId) {
        this.usNewId = usNewId;
    }

    public String getUsNewTitle() {
        return usNewTitle;
    }

    public void setUsNewTitle(String usNewTitle) {
        this.usNewTitle = usNewTitle;
    }

    public String getUsNewContxt() {
        return usNewContxt;
    }

    public void setUsNewContxt(String usNewContxt) {
        this.usNewContxt = usNewContxt;
    }

    public String getUsNewPic() {
        return usNewPic;
    }

    public void setUsNewPic(String usNewPic) {
        this.usNewPic = usNewPic;
    }

    public Date getUsNewRiqi() {
        return usNewRiqi;
    }

    public void setUsNewRiqi(Date usNewRiqi) {
        this.usNewRiqi = usNewRiqi;
    }

    public Board getUsNewBid() {
        return usNewBid;
    }

    public void setUsNewBid(Board usNewBid) {
        this.usNewBid = usNewBid;
    }

    public AdminMan getUsNewAid() {
        return usNewAid;
    }

    public void setUsNewAid(AdminMan usNewAid) {
        this.usNewAid = usNewAid;
    }

    public Integer getUsNewDel() {
        return usNewDel;
    }

    public void setUsNewDel(Integer usNewDel) {
        this.usNewDel = usNewDel;
    }
}
